Skip to content

Conversation

@mgrabina
Copy link
Contributor

@mgrabina mgrabina commented Nov 18, 2025

  • activates flashloan collateral swap via cow for arb, gnosis, avax
  • fixes the zero ltv assets for collateral swaps that requires ANY asset to be ltv zero to block (debt swap is specific)
  • increases post hook gas limit to make sure avoid insufficient for some tokens

@vercel
Copy link

vercel bot commented Nov 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
interface Ready Ready Preview Comment Nov 21, 2025 7:41pm

@github-actions
Copy link

@github-actions
Copy link

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link

@github-actions
Copy link

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link

@github-actions
Copy link

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@mgrabina mgrabina force-pushed the feat/activate-l2s-cow-coll-swap branch from b64f2c6 to 753499e Compare November 21, 2025 19:38
@mgrabina mgrabina marked this pull request as ready for review November 21, 2025 19:43
@github-actions
Copy link

@github-actions
Copy link

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +12 to +16
}
// For CollateralSwap, block if the user has any zero-LTV collateral enabled
if (state.swapType === SwapType.CollateralSwap) {
return blockingAssets.length > 0;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Clear zero-LTV blocking state when swap type changes

With the new swap-type-specific logic in hasZeroLTVBlocking, a user who triggers the zero-LTV guard while on a CollateralSwap and then switches to RepayWithCollateral (which this branch explicitly allows) will keep the previous ZeroLTVBlockingError and actionsBlocked state because the effect below only re-runs when assetsBlockingWithdraw or sourceToken change. In that scenario the UI continues to show a generic provider error and blocks the repay flow even though hasZeroLTVBlocking would now return false. Include state.swapType in the effect dependencies or otherwise clear the error on swap-type changes to avoid blocking permitted flows.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants